//
//  Singleton.h
//  DaHaiDouBan
//
//  Created by dllo on 15/10/27.
//  Copyright (c) 2015年 Wang Dahai. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^AppToolsBlock)(id result);
typedef void(^ErrorBlock)(NSError *error);

@interface Singleton : NSObject

+(instancetype)shareSingleton;

+(void)getDataWithFileName:(NSString *)name block:(AppToolsBlock)block error:(ErrorBlock)error;


//@property(nonatomic,retain)NSMutableArray *movieListArray;
//@property(nonatomic,retain)NSMutableDictionary *movieListDic;

@property (nonatomic,assign) BOOL isLogin;


@end
